home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part1 / 5170 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  714 b 

  1. Path: news1.sympatico.ca!news
  2. From: Stephane Lajeunesse <slajeunesse@sympatico.ca>
  3. Newsgroups: comp.lang.c
  4. Subject: Error: FILE *rl_instream = stdin; initializer is not a constant
  5. Date: 8 Feb 1996 00:05:05 GMT
  6. Organization: Bell Canada
  7. Message-ID: <4fbenh$60s@news1.sympatico.ca>
  8. NNTP-Posting-Host: ppp215.qc.sympatico.ca
  9. Mime-Version: 1.0
  10. Content-Type: text/plain; charset=us-ascii
  11. Content-Transfer-Encoding: 7bit
  12. X-Mailer: Mozilla 1.22 (Windows; I; 16bit)
  13.  
  14. Hi,
  15.  
  16. When I'm comiling this using GCC 2.5.8 on Xenix, this type of 
  17. initialization doesn't work:
  18.  
  19. FILE *rl_inputstream = stdin;
  20.  
  21. It halts with a message :
  22.  
  23. initializer is not a constant
  24.  
  25. Any ideas on how I can work around this problem.
  26.  
  27. Thanks,
  28. Stephane
  29.  
  30.